onmessage = function(e) {
    // $.ajaxSettings.async = false
    const dic = e.data[0]
    let workerResult = '';
    $.get("aiLinkView", dic, function (date) {
        if (date['status'] === '200') {
            workerResult = date['content'];
        } else {
            workerResult = '抱歉,我生病了,不能回复你'
        }
        // str = JSON.stringify(date)
    })
    // $.ajaxSettings.async = true;
    // return aimess
     postMessage(workerResult);
}